/*
 * Created on Aug 24, 2004
 *
 */
package ModuleBuilder.model;

import java.io.*;
import java.util.*;

import ModuleBuilder.UI.tree.iEditorPanel;

/**
 * @author Milton  Soong
 *
 */
public class ScenarioDetailModel  extends GameModel implements Serializable {
	HashMap hash;
	
	public ScenarioDetailModel(String nameIn, String editorIn, boolean isEditorIn, iEditorPanel edIn) {
		super( nameIn, editorIn, isEditorIn, edIn );
		hash = new HashMap();
	}
	
	public void put ( Object key, Object val ){
		hash.put(key, val);
	}
	
	public Object get ( Object key ) {
		return ( hash.get(key));
	}
	public void clear () {
		hash.clear();
		return;
	}

	/**
	 * @return Returns the hash.
	 */
	public HashMap getHash() {
		return hash;
	}

	/**
	 * @param hash The hash to set.
	 */
	public void setHash(HashMap hash) {
		this.hash = hash;
	}
}
